<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
  <head>
    <title>修改学生信息</title>
    
    <style type="text/css">
		div{
			margin-top: 15%;
			margin-bottom: 15%;
		}
	</style>
    
  </head>
  
  <body>
  		<%
  			String stuid = request.getParameter("stuid");
  			String stuname = new String (request.getParameter("stuname").getBytes("ISO-8859-1"),"utf-8");
  			String stusex = new String (request.getParameter("stusex").getBytes("ISO-8859-1"),"utf-8");
  			String stuage = request.getParameter("stuage");
  			String stuclass = new String (request.getParameter("stuclass").getBytes("ISO-8859-1"),"utf-8");
  		 %>
  		 <div align="center">
    	<h2>修改学生信息</h2>
    	<form action="servlet/UpdateStudentServlet" method="post">
    		学号：<input type="text" name="stuid" value="<%=stuid%>"><br><br>
    		姓名：<input type="text" name="stuname" value="<%=stuname%>"><br><br>
    		性别：<input type="text" name="stusex" value="<%=stusex%>"><br><br>
    		年龄：<input type="text" name="stuage" value="<%=stuage%>"><br><br>
    		班级：<input type="text" name="stuclass" value="<%=stuclass%>"><br><br>
    		<input type="hidden" name="id" value="<%=stuid%>" >
    		<input type="submit" value="提交">
    	</form>
    	</div>
  </body>
</html>
